package xyz.xtgl.security.springboot.authentication.merchant;

import xyz.xtgl.security.springboot.entity.CustomUserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;

/**
 * 商户平台登录
 * @author liubo
 * @created 2019-12-14 11:45
 */
public interface MerchantUserDetailsService extends UserDetailsService {

    CustomUserDetails loadMerchantUserByUsernameOrPhone(String usernameOrPhone) throws UsernameNotFoundException;
}
